package com.sayice.design.ChainOfResponsibility;

public class Client {
    public static void main(String []args){
        Data data=new Data("字符","数据类型","数据");
        Support charactortransform=new CharactorTransform();
        Support datacheck=new DataCheck();
        Support datatypetransform=new DataTypeTransform();
        charactortransform.setNext(datacheck);
        datacheck.setNext(datatypetransform);
        charactortransform.support(data);
    }
}
